export class RiderEvaluate {
  /** 评分(0 差 1好) */
  public score: number

  /** flags(用逗号隔开) */
  public flags: string

  /** 用户给予的评价 */
  public evaluate: string
}
export class ShopDishEvaluate {
  /** 菜品id */
  public dishId: number

  /** 情感倾向(0 差 1好) */
  public sentiment: number
}
export default class ShopEvaluate {
  /** 分数(值0-5) */
  public score: number

  /** 是否匿名评价 */
  public isAnonymous: number

  /** 用户给予的评价 */
  public evaluate: string

  /** 用户晒图 */
  public images: string

  /** 订单菜品评价 */
  public shopDishEvaluateList: ShopDishEvaluate[]
}

export class EvaluateForm {
  orderId: number | string
  riderEvaluate = new RiderEvaluate()
  shopEvaluate = new ShopEvaluate()
}
